﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcApplication.Models.ApiModel
{
    public class FormPayContentApiModel
    {
        /// <summary>
        /// appid
        /// </summary>
        public string app_id { get; set; }
        /// <summary>
        /// 时间戳
        /// </summary>
        public string timestamp { get; set; }
        /// <summary>
        /// 版本号
        /// </summary>
        public string version { get; set; }
        /// <summary>
        /// 门店号（）
        /// </summary>
        public string busi_code { get; set; }
        /// <summary>
        /// 设备终端号
        /// </summary>
        public string dev_id { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        public string oper_id { get; set; }
        /// <summary>
        /// 支付方式 
        /// </summary>
        public string pay_channel { get; set; }
        /// <summary>
        /// 订单金额（单位分，最小1）
        /// </summary>
        public string amount { get; set; }
        /// <summary>
        /// 不可打折金额(单位分,最小1)
        /// </summary>
        public string undiscountable_amount { get; set; }
        /// <summary>
        /// 接入方订单号
        /// </summary>
        public string down_trade_no { get; set; }
        /// <summary>
        /// 订单标题
        /// </summary>
        public string subject { get; set; }
        /// <summary>
        /// 自定义数据,原路返回,接入方自行扩展
        /// </summary>
        public string raw_data { get; set; }
        /// <summary>
        /// 成功回调地址
        /// </summary>
        public string back_notify_url { get; set; }
        /// <summary>
        /// 如果是微信,请传入授权公众号或者授权小程序 APPID. 渠道是微信时必传
        /// </summary>
        public string sub_appid { get; set; }
        /// <summary>
        /// MINI_PROGRAM或者SUBSCRIPTION.
        /// MINI_PROGRAM是小程序
        /// SUBSCRIPTION是微信公众号或者支付宝服务窗
        /// </summary>
        public string sub_appid_type { get; set; }
        /// <summary>
        /// pay_channel=WECHAT时,传入对应用户 openid
        /// pay_channel=ALIPAY时,传入对应用户 user_id
        /// </summary>
        public string sub_open_id { get; set; }
    }
}